<include file="public@header"/>
</head>
<style>
    image{
        max-height: 100%!important;
    }
</style>
<body>
<script src="https://cdn.bootcss.com/layer/2.3/layer.js"></script>
<div class="wrap">
    <form method="post" class="form-horizontal margin-top-20">
        <div class="form-group">
            <label class="col-sm-2 control-label"> {:lang('图片')}</label>
            <div class="col-md-6 col-sm-10">
                <notempty name="$datas['img']">
                    <div id="imgBox">
                        <volist name="$datas['img']" id="vo">
                            <img layer-src="{$vo}" src="{$vo}" style="width: 80px; cursor: pointer">
                        </volist>
                    </div>
                    <script>
                        layer.photos({photos: '#imgBox', shift: 5});
                    </script>
                </notempty>
            </div>
        </div>
        <div class="form-group">
            <label class="col-sm-2 control-label"> {:lang('留言')}</label>
            <div class="col-md-6 col-sm-10">
                <div class="well well-lg">
                    {$datas.msg|htmlspecialchars_decode}
                </div>
            </div>
        </div>
    </form>
</div>
</body>
</html>